.\" Copyright 2008-2010 Vadim Zhukov <persgray@gmail.com>
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions are met:
.\"
.\" 1. Redistributions of source code must retain the above copyright notice,
.\"    this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright notice,
.\"    this list of conditions and the following disclaimer in the documentation
.\"    and/or other materials provided with the distribution.
.\"
.\" THIS SOFTWARE IS PROVIDED BY AGAVA COMPANY ``AS IS'' AND ANY EXPRESS OR
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
.\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
.\" EVENT SHALL THE AGAVA COMPANY OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
.\" INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
.\" ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\" The views and conclusions contained in the software and documentation are
.\" those of the authors and should not be interpreted as representing official
.\" policies, either expressed or implied, of the AGAVA Company.
.Dd $Mdocdate$
.Dt RB_FIXINFO 1
.Os AGAVA
.Sh NAME
.Nm rb_fixinfo
.Nd updates information files after RB update
.Sh SYNOPSIS
.Nm rb_fixinfo
.Op Fl nv
.Op Fl d Ar directory
.Op Fl m Ar modules
.Ar profile
.Ar host ...
.Sh DESCRIPTION
The
.Nm
utility
Files are updated based on scheme read from profile, see
.Xr rb 5 .
Command-line options as follows:
.Bl -tag -width "-d directory"
.It Fl d Ar directory
Overrides
.Cm archive_dir
profile option, which specifies directory where archives reside.
.It Fl m Ar modules
Comma-separated list of modules to check and rotate.
If not specified, rotating will be perfomed on all modules.
It's not an error to specify a module that do not exist in profile.
.It Fl n
Enables test mode, useful for debugging purposes.
Information files will not be changed.
.It Fl v
Enables verbose mode, when
.Nm
will print detailed information what it is doing on stderr.
Same information always goes in log(s), but program output retains some
indentation, while in logs all leading whitespace is stripped.
.It Ar profile
Profile to use, mandatory. Can be set either as absolute path or relative to
.Pa ~/.rb
directory (preferred).
.It Ar host ...
List of hosts to rotate archives of.
You should use the same names for hosts as were specified for
.Xr rb_dump 1
when dumping.
.El
.Sh EXAMPLES

.Sh SEE ALSO
.Xr rb_dump 1 ,
.Xr rb 5 .
.Sh AUTHORS
The
.Nm
manual page was written by
.An Vadim Zhukov Aq persgray@gmail.com .
.Sh HISTORY
An
.Nm
utility appeared in
.Nm RB
toolkit 2.4.
